    function sunbmitAddClassForm(){
    	checkEmptyClass();
        if (document.getElementById("i_aaa").value == "" || isSpace(document.getElementById("i_aaa").value)){
            location.href = "#trainClassName_Location";
            alert("请填写-培训课程名称！");
            return;
        }
        if (document.getElementById("i_bbb").value == "" || isSpace(document.getElementById("i_bbb").value)){
        	location.href = "#trainTeacherName_Location";
            alert("请填写-培训讲师！");
            return;
        }
        if (document.getElementById("i_fff").value == "" || isSpace(document.getElementById("i_fff").value)){
        	location.href = "#trainTeacherNo_Location";
            alert("请填写-讲师工号！");
            return;
        }
        if (document.getElementById("i_ccc").value == "" || isSpace(document.getElementById("i_ccc").value)){
            location.href = "#trainDate_Location";
            alert("请选择-培训日期！");
            return;
        }
        if (document.getElementById("i_eee").value == "" || isSpace(document.getElementById("i_eee").value)){
            location.href = "#trainDate_Location";
            alert("请选择-培训时间段！");
            return;
        }
        if (document.getElementById("i_ddd").value == "" || isSpace(document.getElementById("i_ddd").value)){
        	location.href = "#trainPlaceName_Location";
            alert("请填写-培训地点！");
            return;
        }
        $.ajax({
        	type:'POST',
        	url:'/se/sessionInfos',
        	async:true,
        	data:getAddClassFormData(),
        	contentType:'application/json',
        	dataType:'json',
        	success:function(json){
        		if(json.success){
        			window.location.href="/se/sessionInfos/success/"+json.result.id;
        		}
        	}
        });
    }
    

    function getAddClassFormData() {
    	var beginTm;
    	var endTm;
    	try{
    		var convertDate = $("#i_ccc").val().replace(/(^\s+)|(\s+$)/g,"").replace(/\s/g,"").split("-");
    		var convertTmTmp = $("#i_eee").val().replace(/(^\s+)|(\s+$)/g,"").replace(/\s/g,"").split("-");
    		var convertTm = convertTmTmp[0].split(":").concat(convertTmTmp[1].split(":"));
    		var d = new Date();
    		d.setFullYear(convertDate[0]);
    		d.setMonth(convertDate[1] - 1);
    		d.setDate(convertDate[2]);
    		beginTm = d;
    		beginTm.setHours(convertTm[0]);
    		beginTm.setMinutes(convertTm[1]);
    		beginTm.setSeconds(convertTm[2]);
    		beginTm = beginTm.getTime();
    		endTm = d;
    		endTm.setHours(convertTm[3]);
    		endTm.setMinutes(convertTm[4]);
    		endTm.setSeconds(convertTm[5]);
    		endTm = endTm.getTime();
    	}catch(e){
    		alert("日期/时间格式错误！请重新选择!");
    	}
    	return "{" 
		    						+ 
		    						"\"" +"sessionTitle" + "\"" + ":" + "\"" + $("#i_aaa").val() + "\"" + ","
		    						+
		    						"\"" +"lecturerName" + "\"" + ":" + "\"" + $("#i_bbb").val() + "\"" + ","
		    						+
		    						"\"" +"lecturerId" + "\"" + ":" + "\"" + $("#i_fff").val() + "\"" + ","
		    						+
		    						"\"" +"scheduledBeginTime" + "\"" + ":" + "\"" + beginTm + "\"" + ","
		    						+
		    						"\"" +"scheduledEndTime" + "\"" + ":" + "\"" + endTm + "\"" + ","
		    						+
		    						"\"" +"scheduledLocation" + "\"" + ":" + "\"" + $("#i_ddd").val() + "\""
		    						+
		    						"}";
    }